//
//  TestMasonryViewController.m
//  scroll嵌套Table+悬停效果
//
//  Created by chenleping on 2018/6/21.
//  Copyright © 2018年 IAPTest. All rights reserved.
//

#import "TestMasonryViewController.h"

#import "Masonry.h"
@interface TestMasonryViewController ()

@end

@implementation TestMasonryViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.view.backgroundColor = [UIColor yellowColor];
    UIView * view = [[UIView alloc] init];
    view.backgroundColor = [UIColor greenColor];
    [self.view addSubview:view];
    
    [view mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self.view.mas_left).offset(10);
        make.leading.equalTo(self.view.mas_leading).offset(10);
        make.trailing.equalTo(self.view.mas_trailing).offset(-10);
        make.top.equalTo(self.view.mas_top).offset(100);
        make.height.mas_equalTo(100);
    }];
    
}



@end
